<!DOCTYPE html>
<html>

<head>

    <title>Digital</title>
    <script>

    </script>

</head>



<body>
    <!-- 载入时生成文档内容 -->
    <!-- <h1>Table of Fanctorials</h1>
    <script>
        function factorial(n) {
            if (n <= 1) {
                return n;
            } else {
                return n * factorial(n - 1);
            }
        }

        document.write("<table>");
        document.write("<tr><td>n</td><th>n!</th></tr > ");
        for(var i = 1; i<=100; i++){
            document.write("<tr><td>"+i+"</td><td>"+ factorial(i) +"</td></tr>");
        }
       
    </script> -->



    <!-- <table border=""></table> -->


    <!-- 异步载入并并行脚本 -->
    <script>
        function loadasync(url) {
            var head = document.getElementsByTagName("head")[0];        // 找到<head>元素
            var s = document.createElement("script");                    //创建一个<script>元素
            s.src = url;
            head.appendChild(s);                                        // 将script元素插入head标签中
        }
        loadasync("123");
    </script>
</body>

</html>